package com.horse.cloud.hystrixturbine;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * @create : Created by intelliJ IDEA 17.2
 * @author : bing.Pan
 * @e-mail : 15923508369@163.com
 * @gmdate : 11 08 2017 11:07
 * @sidesc :
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableTurbine
@ServletComponentScan(value = "com.horse")
public class HystrixTurbineApplication {


    public static  void main(String[] args){

        new SpringApplicationBuilder(HystrixTurbineApplication.class).web(true).run(args);
    }

}
